//
//  TGTextView.h

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol TGTextViewDelegate <NSObject>

@optional
- (void)getTextViewTextIfValueChanged:(NSString *)text;

@end

@interface TGTextView : UITextView
/** 占位文字 */
@property (nonatomic, copy) NSString *placeholder;
/** 占位文字颜色 */
@property (nonatomic, strong) UIColor *placeholderColor;

@property (nonatomic, assign) id<TGTextViewDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
